<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../../static/css/semantic.min.css">
    <link rel="stylesheet" href="../../static/css/custom.css">
    <link rel="stylesheet" href="../../static/lib/editormd/css/editormd.min.css">
    <link ref="stylesheet" href="../../static/img/blog.ico" />
    <title>后台管理-新增博客</title>
</head>

<body>

    <!-- 导航 start-->
    <nav class="ui inverted attached segment m-shadow-small">
        <div class="ui container">
            <div class="ui inverted secondary stackable menu m-padded-tb-mini">
                <h2 class="ui teal header item">后台管理</h2>
                <a href="blogs.html" class="item active m-mobile-hide m-item"><i class="home icon"></i>博客</a>
                <a href="#" class="item m-mobile-hide m-item"><i class="idea icon"></i>分类</a>
                <a href="tags.html" class="item m-mobile-hide m-item"><i class="tags icon"></i>标签</a>
                <div class="right m-item m-mobile-hide menu">
                    <div class="ui dropdown item">
                        <div class="text">
                            <img src="../../static/img/my_title.jpg" alt="" class="ui avatar image"> 老张
                        </div>
                        <i class="dropdown icon"></i>
                        <div class="menu">
                            <a href="#" class="item">注销</a>
                            <a href="#" class="item">个人资料</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <a href="#" class="ui menu toggle black icon button m-top-right m-mobile-show">
            <i class="sidebar icon"></i>
        </a>
    </nav>
    <!-- 导航 end -->

    <!-- 二级导航 start -->
    <div class="ui attached pointing menu">
        <div class="ui container">
            <div class="ui right menu">
                <a href="blogs.html" class="item">列表</a>
                <a href="#" class="teal active item">发布</a>
            </div>
        </div>
    </div>
    <!-- 二级导航 end -->

    <!-- 中间内容  start-->
    <!-- <div class="m-padded-tb-big m-container-small"> -->
    <div class="m-padded-tb-big">
        <div class="ui container">
            <form action="#" method="POST" class="ui form">

                <div class="required field">
                    <div class="ui left labeled input">
                        <div class="ui selection compact orange basic dropdown label">
                            <input type="hidden" value="原创">
                            <i class="dropdown icon"></i>
                            <div class="text">原创</div>
                            <div class="menu">
                                <div class="item" data-value="原创">原创</div>
                                <div class="item" data-value="摘抄">摘抄</div>
                                <div class="item" data-value="转载">转载</div>
                                <div class="item" data-value="翻译">翻译</div>
                            </div>
                        </div>
                        <input type="text" name="title" placeholder="标题">
                    </div>
                </div>


                <div class="required field">
                    <div id="content" style="z-index: 1;">
                        <textarea style="display:none;" name="blogContext"></textarea>
                    </div>
                </div>

                <div class="two fields">
                    <div class="field">
                        <div class="ui left labeled action input">
                            <label for="" class="ui compact teal basic label">分类</label>
                            <div class="ui fluid selection dropdown">
                                <input type="hidden" name="type">
                                <i class="dropdown icon"></i>
                                <div class="default text">分类</div>
                                <div class="menu">
                                    <div class="item" data-value="1">项目细节</div>
                                    <div class="item" data-value="2">spring</div>
                                    <div class="item" data-value="3">MyBatis</div>
                                    <div class="item" data-value="4">微服务</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="field">
                        <div class="ui left labeled action input">
                            <label for="" class="ui compact teal basic label">标签</label>
                            <div class="ui fluid selection multiple se search dropdown">
                                <input type="hidden" name="tags">
                                <i class="dropdown icon"></i>
                                <div class="default text">标签</div>
                                <div class="menu">
                                    <div class="item" data-value="1">高效学习</div>
                                    <div class="item" data-value="2">面试题解析</div>
                                    <div class="item" data-value="3">实战</div>
                                    <div class="item" data-value="4">java</div>
                                    <div class="item" data-value="5">JavaScript</div>
                                    <div class="item" data-value="6">数据结构与算法分析</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="field">
                    <div class="ui left labeled input">
                        <label class="ui teal basic label">首图</label>
                        <input type="text" name="indexPricture" id="indexPricture" placeholder="首图地址">
                    </div>
                </div>

                <div class="inline fields">
                    <div class="field">
                        <div class="ui checkbox">
                            <input type="checkbox" name="recommend" checked id="recommend" class="hidden">
                            <label for="recommend">推荐</label>
                        </div>
                    </div>

                    <div class="field">
                        <div class="ui checkbox">
                            <input type="checkbox" name="info" id="info" class="hidden">
                            <label for="info">转载声明</label>
                        </div>
                    </div>

                    <div class="field">
                        <div class="ui checkbox">
                            <input type="checkbox" name="appreciation" id="appreciation" class="hidden">
                            <label for="appreciation">赞赏</label>
                        </div>
                    </div>

                    <div class="field">
                        <div class="ui checkbox">
                            <input type="checkbox" name="comment" id="comment" class="hidden">
                            <label for="comment">评论</label>
                        </div>
                    </div>
                </div>

                <div class="ui error message"></div>

                <div class="ui right aligned container">
                    <button type="button" class="ui button" onclick="window.history.go(-1)">返回</button>
                    <button class="ui secondary button">保存</button>
                    <button class="ui teal button">发布</button>
                </div>

            </form>
        </div>
    </div>
    <!-- 中间内容 end-->


    <!-- 底部 -->
    <footer class="ui inverted vertical segment m-padded-tb-massive">
        <div class="ui center aligned container">
            <div class="ui inverted divided mobile reversed stackable grid">
                <!-- 第一部分 -->
                <div class="three wide column">
                    <div class="ui inverted link list">
                        <div class="item">
                            <img src="../../static/img/wechat.png" class="ui rounded image" alt="" style="width:110px">
                        </div>
                    </div>
                </div>
                <!-- 第二部分 -->
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                    <div class="ui inverted link list">
                        <a href="#" class="item">线程池</a>
                        <a href="#" class="item">IO流</a>
                        <a href="#" class="item">spring框架</a>
                    </div>
                </div>
                <!-- 第三部分 -->
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">联系我</h4>
                    <div class="ui inverted link list">
                        <a href="#" class="item">Email：trying326@163.com</a>
                        <a href="#" class="item">QQ:865235911</a>
                    </div>
                </div>
                <!-- 第四部分 -->
                <div class="seven wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">博客简介</h4>
                    <p class="m-text-thin m-text-spaced m-opacity-mini">这个是我的个人博客，前端使用semantic-ui构建，后端使用springboot加spring-jpa建立的一个简约风格博客网站，用于记录个人的技术文章，以及一些碎片化知识点的的记录</p>
                </div>
            </div>
            <!-- 最底部 -->
            <div class="ui invered section divider"></div>
            <p class="m-text-thin m-text-spaced m-opacity-tiny">Copyright © 2016 ZC Designed by ZC</p>
            <p class="m-text-thin m-text-spaced m-opacity-tiny">备案号：</p>
        </div>
    </footer>


    <script src="../../static/js/jquery.min.js" charset="utf-8"></script>
    <script src="../../static/js/semantic.min.js" charset="utf-8"></script>
    <script src="../../static/lib/editormd/editormd.min.js"></script>
    <script src="../../static/js/common.js"></script>
    <script src="../../static/js/admin-common.js"></script>
</body>

</html>